package com.dt76.smallloanbackendservice.service.huxuan.impl;

import com.dt76.smallloanbackendservice.mapper.huxuan.InformationMapper;
import com.dt76.smallloanbackendservice.pojo.huxuan.Information;
import com.dt76.smallloanbackendservice.service.huxuan.InformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InformationServiceImpl implements InformationService {
    @Autowired
    private InformationMapper informationMapper;

    @Override
    public int qryAll() {
        return informationMapper.qryAll();
    }

    @Override
    public String qryAgreement() {
        return informationMapper.qryAgreement();
    }

    @Override
    public int updInformation(Information information) {
        int res = informationMapper.updInformation(information);
        System.out.println("修改！="+res);
        return res;
    }
}
